﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="eTerm.Platform.Web.Login" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>管理登录</title>
    <link rel="SHORTCUT ICON" href="favicon.ico"/>
    <script type="text/javascript" src="Scripts/jquery-easyui-1.2.4/jquery.min.js"></script>
    <script type="text/javascript" src="../Scripts/jquery-easyui-1.2.4/jquery.easyui.min.js"></script>
    <link rel="stylesheet" type="text/css" href="../Scripts/jquery-easyui-1.2.4/themes/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="../Scripts/jquery-easyui-1.2.4/themes/icon.css" />
    <style type="text/css">
        body
        {
            font-size: 12px;
        }
        div, table, td, body, ul, li, tbody, p, span
        {
            margin: 0;
            padding: 0;
        }
        .header
        {
            background-image: url(images/1_100517083751_10_01.jpg);
            height: 238px;
        }
        .footer
        {
            background-image: url(images/1_100517083751_10_07.jpg);
            height: 203px;
        }
        .container
        {
            width: 100%;
            height: 209px;
        }
        .conment
        {
            background-image: url(images/2_01.jpg);
            background-repeat: repeat-x;
            height: 209px;
            width: 100%;
        }
        .container .conment .loginin li
        {
            height: 42px;
            list-style: none;
        }
        .font1
        {
            font-size: 12px;
            font-family: "微软雅黑" , "黑体" , "仿宋";
            color: #717171;
            line-height: 1.5em;
        }
        .font2
        {
            font-size: 14px;
            font-family: "微软雅黑" , "黑体" , "仿宋";
            color: #000000;
        }
        .lineheight
        {
            height: 20px;
            width: 150px;
            vertical-align: middle;
        }
    </style>

    <script type="text/javascript">
        
        function CheckForm() {
            var name = $('#txtName').val();
            var pass = $('#txtPass').val();
            var company = $('#txtCompany').val();
            if (name == '') {
                $('#<%=lblName.ClientID %>').val('请输入账号');
                return false;
            }
            if (pass == '') {
                $('#<%=lblPass.ClientID %>').val('请输入密码');
                return false;
            }
            if (company == '') {
                $('#<%=txtCompany.ClientID %>').val('请输入公司编码');
                return false;
            }
            return true;
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div class="container">
        <!--主体容器-->
        <div class="header">
        </div>
        <!--头部结束-->
        <div class="conment">
            <table align="center" style="margin: 0 auto;" cellpadding="0" cellspacing="0" border="0">
                <tbody>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td style="width: 300px">
                            <div class="loginin">
                                <ul>
                                    <li>
                                        <img src="images/1_01.jpg" /></li>
                                    <li><span class="font2">公司编码：</span>
                                        <asp:TextBox ID="txtCompany" CssClass="lineheight" runat="server"></asp:TextBox>
                                        <asp:Label ID="lblCompany" runat="server" Text="" ForeColor="Red"></asp:Label></li>
                                    <li><span class="font2">管理账号：</span>
                                        <asp:TextBox ID="txtName" CssClass="lineheight" runat="server"></asp:TextBox>
                                        <asp:Label ID="lblName" runat="server" Text="" ForeColor="Red"></asp:Label></li>
                                    <li><span class="font2">密码登陆：</span>
                                        <asp:TextBox ID="txtPass" CssClass="lineheight" runat="server" TextMode="Password"></asp:TextBox>
                                        <asp:Label ID="lblPass" runat="server" Text="" ForeColor="Red"></asp:Label></li>
                                    <li style="text-align: right">
                                        <asp:LinkButton ID="btLogin" runat="server" Text="登录"
                                            OnClick="btLogin_Click" OnClientClick="return CheckForm();" /></li>
                                </ul>
                            </div>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <!--主内容结束-->
        <div class="footer">
        </div>
        <!--footer结束-->
    </div>
    </form>
</body>
</html>
